#ifndef CONTORLCAMERA_H
#define CONTORLCAMERA_H

#include <QObject>
#include<QThread>
class ContorlCamera : public QThread
{
    Q_OBJECT
public:
     ContorlCamera(int fd);
     void initChar();
    bool FirstOpenCamera();
    bool FirstCloseCamera();
    bool SecondOpenCamera();
    bool SecondCloseCamera();
signals:
    
public slots:

protected:
    virtual void run();
private:
    int fd;
    unsigned char FirstOpenCmd[100];
    unsigned char FirstCloseCmd[100];
    unsigned char SecondOpenCmd[100];
    unsigned char SecondCloseCmd[100];
    
};

#endif // CONTORLCAMERA_H
